package com.csdj.s3project.service;

import com.csdj.s3project.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author zq
 * @since 2022-02-04
 */
public interface IUserService extends IService<User> {
    User login(String account, String password);

    boolean selectEmail(String email);

    User selectUserInfo(int id);

    int register(User user);

    int selectUser(String invitationCode);

    int updateSuperiorUser(User user);

    int updatePersonalInfo(User user);

}
